package admin.javabeans;

import java.util.GregorianCalendar;

// Created on:	2-Jun-08
// Author:		Richard Shih

public class Message
{

	private GregorianCalendar	date;
	private String				subject;
	private String				body;
	private boolean				viewed;

	public Message()
	{
	}

	public GregorianCalendar getDate()
	{
		return date;
	}

	public void setDate(GregorianCalendar date)
	{
		this.date = date;
	}

	public String getSubject()
	{
		return subject;
	}

	public void setSubject(String subject)
	{
		this.subject = subject;
	}

	public String getBody()
	{
		return body;
	}

	public void setBody(String body)
	{
		this.body = body;
	}

	public boolean isViewed()
	{
		return viewed;
	}

	public void setViewed(boolean viewed)
	{
		this.viewed = viewed;
	}

}
